package com.kyub.spring.gears.services.impl;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.kyub.spring.gears.services.DaoService;

public class StdOutDaoService implements DaoService<Object> {

	@Override
	public void delete(Object load) {
		System.out.println("deleting " + load);
		
	}

	@Override
	public List<Object> list() {
		System.out.println("returninig an empty list " );
		return new ArrayList<Object>();
	}

	@Override
	public Object load(Serializable id) {
		System.out.println("A null object ");
		return null;
	}

	@Override
	public void save(Object command) {
		System.out.println("saving " + command);
		
	}

}
